<ion-view title="班级公告">
    <ion-nav-buttons side="left">
        <a href="javascript:history.back(-1)" class="button button-icon icon ion-ios-arrow-back" nav-direction="back"></a>
    </ion-nav-buttons>
    <ion-content scroll="true" class="has-header">
        <div class="notice-content">
            <ul class="list">
                <li class="item item-icon-right" ng-repeat="item in vm.exhortaions | orderBy : 'createDate' track by $index" ng-click="gotoDetail('{{item.id}}')">
                    <i class="icon ion-chevron-right"></i>
                    <div>
                        <div class="data-title">{{item.noticeTitle}}&nbsp;&nbsp;{{item.createDate | date:'yyyy-MM-dd'}}</div>
                    </div>
                </li>
            </ul>
            <div class="load-more-btn" style="text-align: center;" ng-click="loadMoreNotice()">
                <p>{{vm.loadMoreBtnStr}}</p>
            </div>
        </div>
    </ion-content>
</ion-view>